package com.goudan.demo.common.errorCode;

import java.io.Serializable;

public class AbstractCommonErrorCode implements Serializable {

    private final String code;
    private final String message;

    public AbstractCommonErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String code() {
        return this.code;
    }

    public String message() {
        return this.message;
    }
}
